package com.xiaomei.manager.service;


import java.util.List;

import com.xiaomei.manager.model.Advertisement;
import com.xiaomei.manager.web.dto.req.AdvertQueryDto;
import com.xiaomei.manager.web.page.Page;
public interface IAdvertisementService {
	/**
	 *  上传新的广告
	 * @param advertisement
	 * @return
	 */
	public boolean createAdvert(Advertisement advertisement );
	public Integer selectMaxID();
	
	/**
	 * 根据请求参数map查询订单信息
	 * @param paramMap 请求参数map
	 * @return 订单信息数据集
	 */
	List<Advertisement> getAdvertForList(AdvertQueryDto dto, Page<Advertisement> page);
	public Advertisement findOne(Integer id);
	public Advertisement selectExperienceById(Integer id);
	boolean deleteExperience(Integer id);
	boolean updateExperience(Advertisement advertisement);
}
